package com.corpgovernment.travelstandard.entity.db;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Table;

@Alias("mbTravelStandCarCity")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "mb_travelstand_car_city")
public class MbTravelStandCarCity extends BaseEntity {
    /**
     * 差标id
     **/
    @OperateLogFieldDesc(value = "差标id")
    @Column(name = "ts_id")
    private Long tsid;

    /**
     * 是否工作日
     **/
    @OperateLogFieldDesc(value = "城市名")
    @Column(name = "city_name")
    private String cityName;

    /**
     * 开始时间
     **/
    @OperateLogFieldDesc(value = "城市编码")
    @Column(name = "city_code")
    private String cityCode;


    @OperateLogFieldDesc(value = "管控方式")
    @Column(name = "control_type")
    private Byte controlType;

    @OperateLogFieldDesc(value = "产线类型")
    @Column(name = "ts_type")
    private String tsType;
}
